﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MyShopDetail.aspx.cs" Inherits="Sbook.MyShopDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="~/Control/Menu/MenuRight.ascx"  TagName="MenuRight" TagPrefix="UC" %>
<%@ Register Src="~/Control/Menu/MenuTop.ascx"  TagName="MenuTop" TagPrefix="UC" %>
<%@ Register Src="~/Control/Menu/Header.ascx"  TagName="Header" TagPrefix="UC" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Cập nhật thông tin cá nhân</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.simplyscroll.js"></script>

    <script src="Scripts/ChangePass.js" type="text/javascript"></script>
<!-- script menutop -->
<script type="text/javascript">
    $(document).ready(function () {
        $(".menu_top li").hover(function () {
            $(this).find('ul:first').css({ visibility: "visible", display: "none" }).show(500)
        }, function () {
            $(this).find('ul:first').css({ visibility: "hidden" })
        });
    });
</script>

<link type="text/css" rel="stylesheet" href="css/jquery.simplyscroll_splienquan.css" />
<link type="text/css" rel="stylesheet" href="css/style_chitietsp.css" />
<<%--script src="Scripts/f2.js" type="text/javascript"></script>--%>
</head>
<body>
   <form runat="server" id="form1">
    <div class="web">
      <UC:Header runat="server" ID="Header1" />

    <div class="chitietsp">
    <div class="chitietsp_top">
    	<a href="#">Cập nhật thông tin</a>
    </div>
    <div class="sanpham">
   
        <asp:Panel ID="pnView" runat="server" Visible="true">
            <asp:DataGrid runat="server" ID="grdShopDetail" Width="100%" AutoGenerateColumns="false">
                <HeaderStyle BackColor="BlueViolet" ForeColor="White" />
                <Columns>
                    <asp:BoundColumn DataField="DeliveryId" HeaderText="DeID" Visible="false"></asp:BoundColumn>
                    <asp:BoundColumn DataField="ProductId" HeaderText="Tên sản phẩm"></asp:BoundColumn>
                    <asp:BoundColumn DataField="Price" HeaderText="Giá bán"></asp:BoundColumn>
                    
                    <asp:TemplateColumn>
                        <HeaderTemplate>Số lượng</HeaderTemplate>
                        <ItemTemplate>
                            <asp:TextBox runat="server" ID="txtQuantity" Width="30px" Text='<%#Eval("Qty")%>'></asp:TextBox>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:BoundColumn DataField="Location" HeaderText="Địa chỉ" Visible="false"></asp:BoundColumn>
                    <asp:TemplateColumn>
                        <HeaderTemplate>Chức năng</HeaderTemplate>
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="lbtEdit" Text="Sửa" OnClick="lbtEdit_Click" CommandName="Edit" CommandArgument='<%#Eval("ProductId") %>'></asp:LinkButton>
                            <asp:LinkButton runat="server" ID="lbldelete" Text="Xóa" OnClientClick="javascript:return confirm('Bạn chắc muốn xóa ?');"  CommandName="Delete" CommandArgument='<%#String.Format("{0}:{1}",Eval("DeliveryId"),Eval("ProductId")) %>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                </Columns>
            </asp:DataGrid>
        </asp:Panel>
  
  
    </div>
    
    </div>
   
    <div class="right">
	<!-- danh mục phải -->
	<div class="menu_right">
         <UC:MenuRight runat="server" ID="MenuRight"></UC:MenuRight>
       
    </div>
    <!-- close danh mục phải -->
    </div>
    </div>
   </form>
</body>
</html>
